<link rel="shortcut icon" href="../resources/favicon.ico" th:href="@{/static/favicon.ico}"
      xmlns:xmnls="http://www.w3.org/1999/xhtml"/>
<!DOCTYPE html>
<html lang="en" xmnls:th="http://www.thymeleaf.org" xmlns:shiro="http://www.thymeleaf.org/thymeleaf-extras-shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--  这行代码我也不太懂  -->
<!--    <link rel="shortcut icon" href="#"/>-->
</head>
<body>
<h1>index</h1>
<div th:if="${session.account !=null}">
   <span th:text="${session.account.username}+'欢迎回来！'"></span><a href="/logout">退出</a>
</div>
    <a href="/main">main</a><br/>
    <div shiro:hasPermission="manage">
    <a href="/manage">manage</a><br/>
    </div>
    <div shiro:hasRole="administator">
        <a href="/administator">administator</a>
    </div>

</body>
</html>